package ngat.oss;

import java.rmi.*;

/** Classes which wish to receive notification of scheduling events should register
 * with an instance of ScheduleMonitor.
 */
public interface ScheduleMonitor extends Remote {

    /** Add a listener to the list.*/
    public void addScheduleUpdateListener(ScheduleUpdateListener l) throws RemoteException;

    /** Remove a listener from the list.*/
    public void removeScheduleUpdateListener(ScheduleUpdateListener l) throws RemoteException;

}
